﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UniversaleMain.Master" AutoEventWireup="true" CodeBehind="VendorEditProduct.aspx.cs" Inherits="FYPDemo.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            height: 19px;
        }
        #TextArea1
        {
            width: 195px;
            height: 36px;
        }
        #taDesc
        {
            width: 181px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1 class="h1_title">Edit Product</h1>

<table style="width: 100%;">
        <tr>
            <td>
                &nbsp;</td>
            <td width="270px">
                <asp:Image ID="prodImage" runat="server" ImageAlign="Middle" Width="300px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td rowspan="6" style="height:250px">

                <table style="width:100%; height:250px">
                    <tr style="width:90px">
                        <td colspan="2">
                            <asp:FileUpload ID="ImgUpload" runat="server" Width="214px" Enabled="False" />
                        </td>
                    </tr>
                    <tr style="width:90px">
                        <td>
                            <asp:Button ID="btnUpload" runat="server" Text="Upload" Enabled="False" 
                                onclick="btnUpload_Click" Width="83px" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr style="width:90px">
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Product ID:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtProductID" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="Product Name:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtProductName" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label7" runat="server" Text="Category:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCategory" runat="server" Enabled="False">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text="Retail Price:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtProductPrice" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label4" runat="server" Text="Total Quantity:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtQuantity" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            <asp:TextBox ID="txtIncreaseQuantity" runat="server" Enabled="False" 
                                Width="35px"></asp:TextBox>
                            <asp:Label ID="Label6" runat="server" Text="(increase quantity)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label5" runat="server" Text="Safe Level:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtSafeLevel" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label8" runat="server" Text="Actual Cost:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCost" runat="server" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label9" runat="server" Text="Description:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtDesc" runat="server" Enabled="False" TextMode="MultiLine"></asp:TextBox>
                         </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnModify" runat="server" Text="Modify" Width="83px" 
                                onclick="btnModify_Click" CssClass="buttonbg" />
                        </td>
                        <td style="width:200px">
                            <asp:Button ID="btnSaveChanges" runat="server" Text="Save Changes" 
                                onclick="btnSaveChanges_Click" CssClass="buttonbg" />
                        &nbsp;
                            <asp:Button ID="Button3" runat="server" 
                                PostBackUrl="~/DisplayProductForVendor.aspx" Text="Back" CssClass="buttonbg" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td style="width:200px">
                            <asp:Button ID="btnDelete" runat="server" onclick="btnDelete_Click" 
                                Text="Delete" CssClass="buttonbg" />
                        </td>
                    </tr>
                </table>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                </td>
            <td class="style1">
                </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
